package com.infra.server.service;

import com.alibaba.fastjson.JSONArray;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author win
 */
@FeignClient(value = "infra-gateway")
public interface GetwayService {

    /**
     * 获取swagger api接口数据
     */
    @GetMapping("/gateway/api/list")
    JSONArray getApiList();

}
